<?php
<object class="tire_tread_wear_edit" name="tire_tread_wear_edit" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Tread Wear</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Height">600</property>
  <property name="IsMaster">0</property>
  <property name="Name">tire_tread_wear_edit</property>
  <property name="Width">800</property>
  <property name="OnCreate">tire_tread_wear_editCreate</property>
  <property name="jsOnLoad">tire_tread_wear_editJSLoad</property>
  <object class="Image" name="Image1" >
    <property name="Autosize">1</property>
    <property name="Border">0</property>
    <property name="Height">28</property>
    <property name="ImageSource">image/tread_edit.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image1</property>
    <property name="Width">800</property>
  </object>
  <object class="HiddenField" name="hfId" >
    <property name="Height">18</property>
    <property name="Left">583</property>
    <property name="Name">hfId</property>
    <property name="Top">37</property>
    <property name="Width">200</property>
  </object>
  <object class="Label" name="lblMount" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">22</property>
    <property name="Name">lblMount</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">29</property>
    <property name="Width">400</property>
  </object>
  <object class="HiddenField" name="hfTireId" >
    <property name="Height">18</property>
    <property name="Left">583</property>
    <property name="Name">hfTireId</property>
    <property name="Top">57</property>
    <property name="Width">200</property>
  </object>
  <object class="Button" name="btnSubmit" >
    <property name="Caption">Update</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">22</property>
    <property name="Name">btnSubmit</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">203</property>
    <property name="Width">75</property>
    <property name="OnClick">btnSubmitClick</property>
  </object>
  <object class="Button" name="btnCancel" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">104</property>
    <property name="Name">btnCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">5</property>
    <property name="Top">203</property>
    <property name="Width">75</property>
    <property name="jsOnClick">btnCancelJSClick</property>
  </object>
  <object class="Label" name="Label12" >
    <property name="Caption">* = Required Fields</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#DD0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">8</property>
    <property name="Name">Label12</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">47</property>
    <property name="Width">115</property>
  </object>
  <object class="HiddenField" name="hfError" >
    <property name="Height">18</property>
    <property name="Left">420</property>
    <property name="Name">hfError</property>
    <property name="Top">9</property>
    <property name="Width">128</property>
  </object>
  <object class="JTJavaScript" name="JSValidate" >
    <property name="Code"><![CDATA[function validateRequire(editBox, lblError)
{
 editValue = document.getElementById(editBox).value;
 //error = Number(document.getElementById('hfValidateError').value);
 if(editValue.length==0)
 {
  //alert('error');
  lblValue = document.getElementById(lblError).innerHTML = '&amp;darr; This field is required &amp;darr;';
  //alert(document.getElementById('hfValidateError').value); 
  //document.getElementById('hfValidateError').value = error + Number('1');
  //alert(document.getElementById('hfValidateError').value);
  //alert('error end');
 }
 else
 {
  lblValue = document.getElementById(lblError).innerHTML = '';
 }
}]]></property>
    <property name="Height">20</property>
    <property name="Left">227</property>
    <property name="Name">JSValidate</property>
    <property name="Top">29</property>
    <property name="Width">180</property>
  </object>
  <object class="Edit" name="editTread" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">104</property>
    <property name="Name">editTread</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">84</property>
    <property name="Width">121</property>
    <property name="jsOnBlur">editTreadJSBlur</property>
  </object>
  <object class="Edit" name="editOdometer" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">344</property>
    <property name="Name">editOdometer</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">84</property>
    <property name="Width">121</property>
    <property name="jsOnBlur">editOdometerJSBlur</property>
  </object>
  <object class="Edit" name="editPressure" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">104</property>
    <property name="Name">editPressure</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">124</property>
    <property name="Width">121</property>
    <property name="jsOnBlur">editPressureJSBlur</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">*Tread Depth:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">12</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">88</property>
    <property name="Width">83</property>
  </object>
  <object class="Label" name="Label2" >
    <property name="Caption">Odometer:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">232</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">88</property>
    <property name="Width">105</property>
  </object>
  <object class="Label" name="Pressure" >
    <property name="Caption">*Pressure:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">33</property>
    <property name="Name">Pressure</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">128</property>
    <property name="Width">59</property>
  </object>
  <object class="Label" name="lbltread" >
    <property name="Caption">lbltread</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">72</property>
    <property name="Name">lbltread</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">70</property>
    <property name="Width">186</property>
  </object>
  <object class="Label" name="lblpressure" >
    <property name="Caption">lblpressure</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">72</property>
    <property name="Name">lblpressure</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">110</property>
    <property name="Width">186</property>
  </object>
  <object class="Label" name="lblod" >
    <property name="Caption">lblod</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">11</property>
    <property name="Left">307</property>
    <property name="Name">lblod</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">70</property>
    <property name="Width">186</property>
  </object>
  <object class="ComboBox" name="cmbTrack" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">18</property>
    <property name="ItemIndex"></property>
    <property name="Items">a:0:{}</property>
    <property name="Left">104</property>
    <property name="Name">cmbTrack</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">165</property>
    <property name="Width">121</property>
    <property name="jsOnChange">cmbTrackJSChange</property>
  </object>
  <object class="Label" name="Label5" >
    <property name="Caption">Track by:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">32</property>
    <property name="Name">Label5</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">168</property>
    <property name="Width">68</property>
  </object>
  <object class="Edit" name="editTripDistance" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">353</property>
    <property name="Name">editTripDistance</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Width">121</property>
    <property name="jsOnBlur">editTripDistanceJSBlur</property>
  </object>
  <object class="Label" name="Label3" >
    <property name="Caption">Trip distance(km):</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">241</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Width">105</property>
  </object>
  <object class="Edit" name="editKmRun" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">353</property>
    <property name="Name">editKmRun</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Width">121</property>
  </object>
  <object class="Label" name="Label4" >
    <property name="Caption">Km/run:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">241</property>
    <property name="Name">Label4</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Width">105</property>
  </object>
</object>
?>
